package integrate_springmvc_with_spring;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class TestN {
	
	@Autowired
	private UserService userService;

	public TestN() {
		System.out.println("TestN Constructor Invoke");
	}
	
	@RequestMapping("/testIntegrate")
	public String test(){
		System.out.println("success");
		System.out.println(userService);
		return "success";
	}
}
